Reconcile with changes in line movement behavior for long text lines
authorKen Manheimer <ken.manheimer@gmail.com>
Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)
committerKen Manheimer <ken.manheimer@gmail.com>
Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)
commit02a005d01300820bb6cd3cee55f125697aa33e5a
tree7193d4958cd1fb4057e2c396ad7b5a721e1f2c1e
parent9208565e204a12553ff98cdc8073a9fb06d2297e
Reconcile with changes in line movement behavior for long text lines
that cross more than a single physical window line, ie when truncate-lines
is nil.

(allout-next-visible-heading): Provide for change in line-move behavior on
long lines when truncate-lines is nil.  In that case, line-move can wind up
on the same textual line when it moves to the next window line, and moving
to the bullet position after the move yields zero advancement.  Add logic
to detect and compensate for the lack of progress.

(allout-current-topic-collapsed-p): move-end-of-line respect for field
boundaries is different when operating with body lines shorter than window
width versus ones greater than window width, which can yield false
negatives in this function.  Avoid difference by applying move-end-of-line
while field-text-motion is inhibited.
lisp/allout.el